/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 86155
 * date: 2024-04-12
 * Time: 18:26
 *
 * @author 接口和抽象类
 */
abstract class A{
    abstract void draw();
    public static void fun2(){

    }
}
class B extends A{

    @Override
   void draw() {
        System.out.println("huahaua");
    }
}
abstract class C extends A{

}
public class Test {
    public static void main(String[] args) {
        B b = new B();
        b.draw();
    }
}
